package com.AAA.service.Impl;

import com.AAA.entity.LayTreeData;
import com.AAA.entity.TMenu;
import com.AAA.service.TMenuService;
import com.AAA.dao.TMenuMapper;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (TMenu)表服务实现类
 *
 * @author 何泽明
 * @since 2022-10-24 15:49:12
 */
@Service
public class TMenuServiceImpl implements TMenuService {
   @Autowired
   private TMenuMapper tMenuMapper;

   @Override
   public List<TMenu> findAll(Integer rid) {
      return tMenuMapper.findAll(rid);
   }

   @Override
   public List<LayTreeData> getAllTreeMenu() {
      return tMenuMapper.findAllTreeData();
   }

   @Override
   public List<Integer> getcheckDataList(Integer rid) {
      return tMenuMapper.getcheckDataList(rid);
   }
}

